An android app is developed to issue commands through Bluetooth. The app checks for a particular Bluetooth device (physical address of Bluetooth dongle connected to Arduino) to be connected to the phone. On successful connection, proper commands are issued when the radio buttons corresponding to the electrical appliances are tapped. The commands received by the Bluetooth dongle are passed to Arduino for further processing. The commands are interpreted by Arduino and the corresponding relay is actuated. The electrical appliance connected to the relay switches ON or OFF accordingly.
This project involves the use of HC05 Bluetooth dongle and Arduino along with relays to turn the devices ON and OFF.
An android app is developed to issue commands through Bluetooth. The app checks for a particular Bluetooth device (physical address of Bluetooth dongle connected to Arduino) to be connected to the phone. On successful connection, proper commands are issued when the radio buttons corresponding to the electrical appliances are tapped. The commands received by the Bluetooth dongle are passed to Arduino for further processing. The commands are interpreted by Arduino and the corresponding relay is actuated. The electrical appliance connected to the relay switches ON or OFF accordingly.
3 Comments
The project involves development of firmware for Arduino to gather data from sensors and upload the same to Xively for live data analysis on the web. Arduino uses Ethernet shield to send the data to the xively page. A xively feed was created and its Feed ID and Xively Key was noted down for use in the sketch. The sensors employed are 1. DS18B20 – 1 wire digital temperature sensor 2. DHT11 – Humidity and temperature sensor 3. Sound sensor Libraries for the sensors are downloaded and the functions in the library are called to acquire data from them. Then the Ethernet library is used to send data. Prior to sending data, configuration of the Ethernet shield for DHCP and as a HTT client is done. These are pretty much explained in the code. Separate data streams are created for each data namely temperature, humidity, sound and string information to be uploaded to Xively. Data is accumulated into the data streams and then uploaded to the xively sheet using the xivelyclient.put function Embedded software is a piece of code that goes into a micro processor's memory and does a specific task. it spans from simple and single task software to multi tasked ones. With over five years of experience in developing embedded software for quite many platforms, I now have the expertise to handle embedded software projects involving
The pi4j library is now integrated with the processing IDE on Raspberry Pi, opening doors for integrated code development for front end software and back end hardware control. Processing IDE is one of the easiest IDEs (I have worked on) for development of applications for windows, linux and android. The pi4j library installation carried out as per the guidelines here and here will integrate the accessibility of the GPIO pins on the RPi with the front end software that would be normally developed with processing on RPi. So what can be done with this integration is, one can write a front end software or app, that will access/command the GPIO pins on the RPi. This will open door for rapid development of GUI based embedded systems like kiosks, POS terminals interactive automation systems. |
Raj VigneshPassionate electronics hobbyist. Archives
April 2018
Categories
All
|